import { createApp, h } from "vue";
import App from "./App.vue";
import antd from "ant-design-vue";
import "ant-design-vue/dist/antd.css";
import zh_CN from "ant-design-vue/es/locale/zh_CN";
import { ConfigProvider } from "ant-design-vue";

const app = createApp({
    render() {
        return h(ConfigProvider, { locale: this.zh_CN }, () => [h(App)]);
    },
    data() {
        return { zh_CN: zh_CN };
    },
});

app.use(antd).mount("#app");
